package com.tanhua.model.mongo;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import org.bson.types.ObjectId;
import org.springframework.data.mongodb.core.mapping.Document;

/**
 * @author lamy
 * @version 1.0
 * @ClassName: Voice
 * @date 2021-12-26 10:41:17
 */
@Data
@NoArgsConstructor
@AllArgsConstructor
@Document(collection = "voice")
public class Voice implements java.io.Serializable {

    private ObjectId id; //主键id
    private Long userId;

    private String voiceUrl; //语音文件，URL
    private Long created; //创建时间

}